package com.atguigu.gulimall.product.feign;

import com.atguigu.common.to.SkuReductionTO;
import com.atguigu.common.to.SpuBoundTo;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("gulimall-coupon")
public interface CouponFeignService {

	/**
	 * @param spuBoundTo
	 */
	@PostMapping("/coupon/coupon/save")
	R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);
	@PostMapping("/coupon/skufullreduction/saveInfo")
	R saveSkuReduction(SkuReductionTO skuReductionTO);
}
